<template>
	<!-- 今日新增 -->
	<view class="New_today">
		<!-- 日期 -->
		<view class="dan_date">
			<text >{{date}}</text>
		</view>
		<!-- 新增列表 -->
		<view class="todas">
			<view></view>
			<view></view>
		</view>
	</view>
</template>

<script>
	export default {
		data(){
			return{
				page:0,
				date: new Date().toISOString().slice(0, 10),
			}
		},
		onShow() {
			this.today()
		},
		methods:{
			today(){
				var vm = this
				vm.page = vm.page+1
				vm.req.post(
				vm.lochost + '/index/index?method=today_add_user_list',{
					page:vm.page,
					size:10
				},{},
				function(res){
					console.log(res);
				}
				)
			}
		}
	}
</script>

<style>
	.dan_date{
		width: 750rpx;
		height: 60rpx;
		background-color: #FFFFFF;
		font-size: 24rpx;
		color:rgba(0,0,0,1);
		line-height: 60rpx;
		padding-left: 24rpx;
	}
</style>
